#ifndef REQUESTBUFFERDATAMESSAGE_H
#define REQUESTBUFFERDATAMESSAGE_H

#include "./entities/message/superClass/message.h"

class RequestBufferDataMessage : public Message
{
public:
    RequestBufferDataMessage() = delete;

    RequestBufferDataMessage(const UserId& userId);
    RequestBufferDataMessage(const QJsonObject&);
    QJsonObject PackJsonData() const override;
    UserId getUserId() const;

private:
    UserId m_userId;

};

// 编译时注册
Q_DECLARE_METATYPE(RequestBufferDataMessage)

#endif // REQUESTBUFFERDATAMESSAGE_H
